package org.linlinjava.litemall.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.litemall.db.domain.ProjectFile;
import org.linlinjava.litemall.db.domain.ProjectFileExample;

public interface ProjectFileMapper {
    long countByExample(ProjectFileExample example);

    int deleteByExample(ProjectFileExample example);

    int deleteByPrimaryKey(String fileId);

    int insert(ProjectFile record);

    int insertSelective(ProjectFile record);

    ProjectFile selectOneByExample(ProjectFileExample example);

    ProjectFile selectOneByExampleSelective(@Param("example") ProjectFileExample example, @Param("selective") ProjectFile.Column ... selective);

    List<ProjectFile> selectByExampleSelective(@Param("example") ProjectFileExample example, @Param("selective") ProjectFile.Column ... selective);

    List<ProjectFile> selectByExample(ProjectFileExample example);

    ProjectFile selectByPrimaryKeySelective(@Param("fileId") String fileId, @Param("selective") ProjectFile.Column ... selective);

    ProjectFile selectByPrimaryKey(String fileId);

    int updateByExampleSelective(@Param("record") ProjectFile record, @Param("example") ProjectFileExample example);

    int updateByExample(@Param("record") ProjectFile record, @Param("example") ProjectFileExample example);

    int updateByPrimaryKeySelective(ProjectFile record);

    int updateByPrimaryKey(ProjectFile record);
}